package com.charactereducation.api.service.user;

import com.charactereducation.api.service.activity.ActivityServiceClient;
import com.charactereducation.module.vo.Activity;
import com.charactereducation.module.vo.User;
import com.charactereducation.tools.myRunTime.MyRunTimeExcption;
import com.charactereducation.webcore.service.ServiceBase;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * Created by Baggio on 2018-10-25.
 */

@Component
public class UserServiceClientBack extends ServiceBase implements UserServiceClient {

    @Override
    public User login(String phone, String passWord) throws MyRunTimeExcption {
        throw new MyRunTimeExcption("账号不存在！");
    }

    @Override
    public void addUser(User user) throws MyRunTimeExcption {
        throw new MyRunTimeExcption("");
    }
}
